-- GENERATED SPELL FOR [Kashoch the Reaver] --


function spell0_10198(pUnit, Event) --@Cleave,n/a--
pUnit:FullCastSpellOnTarget(40504,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10198', 609, 1)
end

function Sorts_10198(pUnit, Event)
local choix_sorts_10198 = math.random(0, 0)
if choix_sorts_10198 == 0 then
pUnit:RegisterEvent('spell0_10198', 1, 1)
end
end

function mob10198_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10198', math.random(1500, 3000), 1)
end

function mob10198_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10198_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10198_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10198, 1, 'mob10198_Action')
RegisterUnitEvent(10198, 2, 'mob10198_Leave')
RegisterUnitEvent(10198, 3, 'mob10198_Kill')
RegisterUnitEvent(10198, 4, 'mob10198_Die')
